package com.trsj.lnsj.entity;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

public interface NoticeRepo extends JpaRepository<NoticeDTO, Integer> {
    Page<NoticeDTO> findByGid(Pageable page,long gid);
    List<NoticeDTO> findByTitleAndGid(String title, long gid);
}
